package com.lcy.springtest.conf;

import com.lcy.springtest.bean.Person3;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author lichenyang
 * @create 2021-04-19 10:11 上午
 */
//@Configuration
//@ComponentScan(value = "com.lcy.springtest.bean")
public class LifeCycleConfig {
//
//    @Bean(initMethod = "init", destroyMethod = "destroy")
//    public Person person(){
//        return new Person();
//    }

//    @Bean
//    public Person1 person1(){
//        return new Person1();
//    }

//    @Bean
//    public Person3 person3(){
//        return new Person3();
//    }
}
